package cn.iocoder.yudao.module.project.controller.admin.kismaterialreceipt.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 物料入库单 Response VO")
@Data
@ExcelIgnoreUnannotated
public class KisMaterialReceiptRespVO {

    @Schema(description = "订单编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "22079")
    @ExcelProperty("订单编号")
    private String id;

    @Schema(description = "入库单编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "22079")
    private String receiptCode;

    @Schema(description = "物料入库日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("物料入库日期")
    @JsonFormat(pattern="yyyy-MM-dd",locale = "zh_CN",timezone = "GMT+8")
    private Date receiptDate;

    @Schema(description = "供应商", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("供应商")
    private String supplier;
    private String supplierName;

    @Schema(description = "审核标志", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("审核标志")
    private String auditMark;

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("编号")
    private String code;

    @Schema(description = "收料仓库", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("收料仓库")
    private String warehouse;

    @Schema(description = "物料长代码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("物料长代码")
    private String materialCode;

    @Schema(description = "物料名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("物料名称")
    private String materialName;

    @Schema(description = "规格型号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("规格型号")
    private String specification;

    @Schema(description = "应收数量", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("应收数量")
    private Double receivableNum;

    @Schema(description = "实收数量", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("实收数量")
    private Double actualNum;

    @Schema(description = "单位", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("单位")
    private String unit;

    @Schema(description = "源单单号")
    @ExcelProperty("源单单号")
    private String materialNumber;

    @Schema(description = "源单类型", example = "1")
    @ExcelProperty("源单类型")
    private String materialType;

    @Schema(description = "部门", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("部门")
    private String dept;

    @Schema(description = "业务员", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("业务员")
    private String operator;

    @Schema(description = "批号")
    @ExcelProperty("批号")
    private String batchNumber;

    @Schema(description = "备注", requiredMode = Schema.RequiredMode.REQUIRED, example = "你猜")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "日期")
    private String dateStr;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    @JsonFormat(pattern="yyyy-MM-dd",locale = "zh_CN",timezone = "GMT+8")
    private Date createTime;

}